package com.example.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.dto.AccessDTO;
import com.example.pojo.entity.Contract;

import java.io.IOException;
import java.util.List;

public interface ContractService extends IService<Contract> {
    List<Contract> selectAll();

    void add(AccessDTO accessDTO) throws IOException;

    Page<Contract> selectByPage(Integer pageNum, Integer pageSize, String teamName, String projectName, String order);

    void deleteById(Integer id);

    void delBatch(List<Integer> ids);
}
